package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: demo
 * @description: Rainbond健康检测
 * @author: 陈恩涛
 * @create: 2023-06-10 10:44
 **/

@RestController
@RequestMapping("/devops")
public class DevopsController {

    @GetMapping("/health")
    public String getHealthStatus() {
        return "Everything is fine!";
    }

    @GetMapping("/ping")
    public String getPong() {
        return "pong";
    }
}
